/**
 *
 */
package com.tcl.aota.web.vo;

/**
 * 返回json结果
 */
public class JsonResult {


    private Integer code;
    private Object data;

    public static JsonResult get(Integer code, Object data) {
        JsonResult result = new JsonResult();
        result.setCode(code);
        result.setData(data);
        return result;
    }


    public Integer getCode() {
        return code;
    }

    public void setCode(Integer code) {
        this.code = code;
    }

    public Object getData() {
        return data;
    }

    public void setData(Object data) {
        this.data = data;
    }

}
